using System;
using System.Data;
using System.Configuration;
using System.Collections;
using System.Web;
using System.Web.Security;
using System.Web.UI;
using System.Web.UI.WebControls;
using System.Web.UI.WebControls.WebParts;
using System.Web.UI.HtmlControls;

public partial class Usercontrols_SelectMasterPageTheme : System.Web.UI.UserControl
{
    public Blazing.BusinessObjects.Cms.Masterpage SelectedTemplate
    {
        get
        {
            return Blazing.BusinessObjects.Cms.Masterpage.Load(int.Parse(DropDownListMasterpage.SelectedValue));
        }
        set
        {
            DropDownListMasterpage.SelectedValue = value.ID + "";
            DropDownListTheme.DataBind();
        }
    }

    public Blazing.BusinessObjects.Cms.Theme SelectedTheme
    {
        get
        {
            return Blazing.BusinessObjects.Cms.Theme.Load(int.Parse(DropDownListTheme.SelectedValue));
        }
        set
        {
            DropDownListTheme.SelectedValue = value.ID + "";
        }
    }

    protected void Page_Load(object sender, EventArgs e)
    {

    }
}
